package com.angel.architecture.services.impl;

import java.util.Collection;

import com.angel.architecture.daos.ParameterAreaDAO;
import com.angel.architecture.persistence.beans.ParameterArea;
import com.angel.architecture.services.ParameterAreaService;

/**
 *
 * @author William
 */
public class ParameterAreaServiceImpl extends GenericServiceImpl implements ParameterAreaService {


    public Collection<ParameterArea> findAllByDescription(String description) {
        return this.getParameterAreaDAO().findAllByDescription(description);
    }

    public ParameterArea findUniqueByName(String name) {
        return this.getParameterAreaDAO().findUniqueByName(name);
    }

    public ParameterAreaDAO getParameterAreaDAO() {
        return (ParameterAreaDAO) super.getGenericDAO();
    }
}